package com.ttj.mapper.oracle;

import java.util.List;
import java.util.Map;

import com.ttj.domain.oracle.OrderSell;
import com.ttj.mapper.oracle.gen.SuperOrderSellMapper;

public interface OrderSellMapper extends SuperOrderSellMapper {
	List<OrderSell> getByOrderId(String orderId);

	int recieveMsg(Map<String, Object> map);// 服务组客服提醒未回复详情页收到按钮

	int pickUpGoods(Map<String, Object> map);// 服务组客服提醒提货完成

	int deliveryComplete(Map<String, Object> map);// 服务组客服提醒送货完成

	double SumServiceTotalSellMoney(Map<String, Object> map);// 服务组工作日志统计送货总金额

	/**
	 * 未查看数量
	 * @param rperson
	 * @return
	 */
	int unCheck(String rperson);

	/**
	 * 已回复
	 * @param rperson
	 * @return
	 */
	int replyed(String rperson);

	/**
	 * 回收订单列表
	 * @param map
	 * @return
	 */
	List<OrderSell> orderSellList(Map<String, Object> map);

	/**
	 * 订单详情
	 * @param map
	 * @return
	 */
	List<OrderSell> getOrderSellDetail(Map<String, Object> map);

	/**
	 * 订单详细物品清单
	 * @param orderId
	 * @return
	 */
	List<OrderSell> getOrderSellDetailList(Long orderId);

	/**
	 * 回复
	 * @param orderId
	 * @return
	 */
	int reply(Long orderId);

	/**
	 * 送货
	 * @param orderId
	 * @return
	 */
	int delivery(Long orderId);
}